package models

type SubscribeListResponse struct {
	Code     int `json:"code" required:"true" description:"0:获取成功,..."`
	ErrMsg   string `json:"msg" required:"true" description:"错误信息"`
	CurPage  int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total    int `json:"size" required:"true" description:"请求的条目"`
	Articles []*Article `json:"articles" required:"true" description:"订阅的文章列表"`
}


type ListCollectArticlesResponse struct {
	Code     int `json:"code" required:"true" description:"0:获取成功,..."`
	ErrMsg   string `json:"msg" required:"true" description:"错误信息"`
	CurPage  int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total    int `json:"size" required:"true" description:"请求的条目"`
	Articles []*Article `json:"articles" required:"true" description:"订阅的文章列表"`
}

type GzhListResponse struct {
	Code     int `json:"code" required:"true" description:"0:获取成功,..."`
	ErrMsg   string `json:"msg" required:"true" description:"错误信息"`
	CurPage  int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total    int `json:"size" required:"true" description:"请求的条目"`
	GzhInfos []*GzhInfo `json:"gzhs" required:"true" description:"订阅的公众号列表"`
}

type ListCommentsResponse struct {
	Code     int `json:"code" required:"true" description:"0:获取成功,..."`
	ErrMsg   string `json:"msg" required:"true" description:"错误信息"`
	CurPage  int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total    int `json:"size" required:"true" description:"请求的条目"`
	ArticleCommentInfo []*ArticleCommentInfo `json:"comments" required:"true" description:"文章评论列表"`
}

type ArticleCommentInfo struct {
	Id       int `json:"id" required:"true" description:"唯一id"`
	Content  string `json:"content" required:"true" description:"评论内容"`
	IconUrl  string `json:"icon_url" required:"false" description:"发布者IconUrl"`
	NickName string `json:"nick_name" required:"false" description:"发布者昵称"`
	Time     string `json:"time" required:"false" description:"发布时间"`
}

type GzhInfo struct {
	Id           int `json:"id" required:"true" description:"唯一id"`
	Title        string `json:"title" required:"true" description:"公众号名称"`
	IconUrl      string `json:"icon_url" required:"false" description:"icon地址"`
	SubscribeNum int `json:"sub_num" required:"false" description:"已订阅人数"`
	PublishNum   int `json:"publish_num" required:"false" description:"发布的文章数"`
}

type ReleaseSubscribeGzhResponse struct {
	Code   int `json:"code" required:"true" description:"0:成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}

type CollectArticleResponse struct {
	Code   int `json:"code" required:"true" description:"0:成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}

type PraiseArticleResponse struct {
	Code   int `json:"code" required:"true" description:"0:成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}


type CancelArticlesResponse struct {
	Code   int `json:"code" required:"true" description:"0:成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}

type CommentArticleResponse struct {
	Code   int `json:"code" required:"true" description:"0:发表评论成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}